projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03f64eb
)
Small help--loaded-p fix
author
Glenn Morris
<rgm@gnu.org>
Wed, 1 Mar 2017 19:35:29 +0000
(14:35 -0500)
committer
Glenn Morris
<rgm@gnu.org>
Wed, 1 Mar 2017 19:35:29 +0000
(14:35 -0500)
* lisp/help-fns.el (help--loaded-p): Handle entry in load-history
with nil file name. (Bug#25847)
lisp/help-fns.el
patch
|
blob
|
history
diff --git
a/lisp/help-fns.el
b/lisp/help-fns.el
index 742c66919af80a822f16f1885322dac63ca67d66..21f76e100a7b81472f0e248ed5a1316d0783335e 100644
(file)
--- a/
lisp/help-fns.el
+++ b/
lisp/help-fns.el
@@
-73,7
+73,7
@@
The functions will receive the function name as argument.")
(let* ((re (load-history-regexp file))
(done nil))
(dolist (x load-history)
- (
if
(string-match-p re (car x)) (setq done t)))
+ (
and (car x)
(string-match-p re (car x)) (setq done t)))
done)))
(defun help--load-prefixes (prefixes)